package com.hrsoft.modules.bid.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 发票信息
 * 
 * @author garfield.yue
 * @email yuedefeng101@163.com
 * @date 2020-05-07 11:15:10
 */
@Data
@TableName("bid_invoice")
public class InvoiceEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 订单id
	 */
	private Long orderId;
	/**
	 * 用户id
	 */
	private Integer userId;
	/**
	 * 0普通发票1电子发票2增值税发票
	 */
	private Integer invoiceType;
	/**
	 * 发票金额
	 */
	private BigDecimal invoiceMoney;
	/**
	 * 发票抬头
	 */
	private String invoiceTitle;
	/**
	 * 发票内容
	 */
	private String invoiceDesc;
	/**
	 * 发票税率
	 */
	private BigDecimal invoiceRate;
	/**
	 * 纳税人识别号
	 */
	private String taxpayer;
	/**
	 * 发票状态0待开1已开2作废
	 */
	private Integer status;
	/**
	 * 
	 */
	private Date createOn;
	/**
	 * 
	 */
	private Integer createUserId;
	/**
	 * 
	 */
	private String createBy;
	/**
	 * 
	 */
	private Date modifiedOn;
	/**
	 * 
	 */
	private Integer modifiedUserId;
	/**
	 * 
	 */
	private String modifiedBy;

}
